package com.woniu.goods.service;

import com.woniu.goods.entity.User;
import com.woniu.goods.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UserSerivceImpl implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public User queryUserByName(String name){
        return userMapper.selectUserByName(name);
    }
}
